<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>档案管理系统</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

    <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/dist/css/font-awesome.min.css">
    <link rel="stylesheet" href="/static/dist/css/ionicons.min.css">
    <link rel="stylesheet" href="/static/dist/css/AdminLTE.min.css">
    <link rel="stylesheet" href="/static/dist/css/skins/all-skins.min.css">
    <link rel="stylesheet" href="/static/css/bootstrap-treeview.css">
    <link rel="stylesheet" href="/static/css/bootstrapValidator.min.css">
    <link rel="stylesheet" href="/static/plugins/datepicker/datepicker3.css">
    <link rel="stylesheet" href="/static/layer/theme/default/layer.css">
    <link rel="stylesheet" href="/static/css/fileinput.min.css">
    <!-- Font Awesome -->
    <!-- Theme style -->
    <link rel="stylesheet" href="/static/css/bootstrap-select.min.css">
    <link rel="stylesheet" href="/static/css/bootstrap-table.min.css">
    <link rel="stylesheet" href="/static/css/myCss.css">
    <link rel="stylesheet" href="/static/css/fileinput-rtl.min.css">
    <link rel="stylesheet" href="/static/webCss/exceldr.css?v=shujubuwqd12138">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elemeFnts and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="/static/plugins/ie9/html5shiv.min.js"></script>
    <script src="/static/plugins/ie9/respond.min.js"></script>
    <![endif]-->
</head>
<body  class="hold-transition skin-blue" style="font-size: medium">
<div class="hold-transition skin-blue" id="data">
    <div style="margin-top: 30px!important;">
        <div class="row" style="padding-left: 9px!important;padding-right: 7px!important;">
            <div class="col-xs-12 row" style="border: 1px solid #DADCE0;border-radius: 4px">
                <div class="col-xs-12" style="border-bottom: 1px solid #DADCE0;margin-bottom: 30px!important;">
                    <label style="color: #2C73E8!important;">档案接收</label>
                </div>
                <div class="col-xs-3 row">
                    <div class="col-xs-6 photo">
                        <img src="/static/img/dajs1.png" style="padding-left: 20px;padding-top: 18px;"/>
                    </div>
                    <div class="col-xs-6">
                        <div class="row" style="margin-top: 26px!important;">
                            <div class="col-xs-12">
                                <label>科技信息</label>
                            </div>
                            <div class="col-xs-12" style="padding-top: 4px!important;">
                                <small>办理科技相关</small>
                            </div>
                        </div>
                        <a class="btn btn-primary download" href="/static/excel/科技档案02表.xlsx">下载</a>
                    </div>
                </div>
                <div class="col-xs-3 row">
                    <div class="col-xs-6 photo">
                        <img src="/static/img/dajs2.png" style="padding-left: 16px;padding-top: 16px;"/>
                    </div>
                    <div class="col-xs-6">
                        <div class="row" style="margin-top: 26px!important;">
                            <div class="col-xs-12">
                                <label>文书信息</label>
                            </div>
                            <div class="col-xs-12" style="padding-top: 4px!important;">
                                <small>办理文书相关</small>
                            </div>
                        </div>
                        <a class="btn btn-primary download" href="/static/excel/文书档案02表.xlsx">下载</a>
                </div>
        </div>
                <div class="col-xs-3 row">
                    <div class="col-xs-6 photo">
                        <img src="/static/img/dajs3.png" style="padding-left: 25px;padding-top: 23px;"/>
                    </div>
                    <div class="col-xs-6">
                        <div class="row" style="margin-top: 26px!important;">
                            <div class="col-xs-12">
                                <label>材料信息</label>
                            </div>
                            <div class="col-xs-12" style="padding-top: 4px!important;">
                                <small>办理材料相关</small>
                            </div>
                        </div>
                        <a class="btn btn-primary download" href="/static/excel/材料信息（03表）.xlsx">下载</a>
                    </div>
                </div>
                <div class="col-xs-3 row">
                    <div class="col-xs-6 photo">
                        <img src="/static/img/dajs1.png" style="padding-left: 20px;padding-top: 18px;"/>
                    </div>
                    <div class="col-xs-6">
                        <div class="row" style="margin-top: 26px!important;">
                            <div class="col-xs-12">
                                <label>个人用房信息</label>
                        </div>
                            <div class="col-xs-12">
                                <small>办理个人用户相关</small>
                            </div>
                            <div class="col-xs-12">
                                <a class="btn btn-primary download" href="/static/excel/个人用房.xlsx">下载</a>
                            </div>
                    </div>
                </div>
    </div>
            </div>
        </div>
        <div class="row" style="padding-left: 9px!important;padding-right: 7px!important;">
            <div class="col-xs-12 row" style="margin-top: 30px!important">
                <div class="col-xs-12" style="border-bottom: 1px solid #DADCE0;margin-bottom: 30px!important;">
                    <label style="color: #2C73E8!important;">信息导入</label>
                </div>
            </div>
            <div class="col-xs-12" style="border: 1px solid #DADCE0;border-radius: 4px">
                <div class="col-xs-6 row">
                    <div class="row">
                        <p class="col-xs-2">科技信息导入</p>
                    </div>
                    <div class="col-xs-8">
                        <input id="fileUpload"
                               type="file" multiple
                               class="file" ref="fileUpload" data-show-preview="false" data-show-upload="false">
                    </div>
                    <div class="col-xs-4">
                        <button class="btn btn-primary upload" type="button" @click="submitAllData">确认上传</button>
                    </div>
                </div>
                <div class="col-xs-6 row">
                    <div class="row">
                        <p class="col-xs-2">文书信息导入</p>
                    </div>
                    <div class="col-xs-8">
                        <input id="fileUpload2"
                               type="file" multiple
                               class="file" ref="fileUpload2" data-show-preview="false" data-show-upload="false">
                    </div>
                    <div class="col-xs-4">
                        <button class="btn btn-primary upload" type="button" @click="submitAllData2">确认上传</button>
                    </div>
                </div>
                <div class="col-xs-6 row">
                    <div class="row">
                        <p class="col-xs-2">材料信息导入</p>
                    </div>
                    <div class="col-xs-8">
                        <input id="fileUpload3"
                               type="file" multiple
                               class="file" ref="fileUpload3" data-show-preview="false" data-show-upload="false">
                    </div>
                    <div class="col-xs-4">
                        <button class="btn btn-primary upload" type="button" @click="submitAllData3">确认上传</button>
                    </div>
                </div>
                <div class="col-xs-6 row">
                    <div class="row">
                        <p class="col-xs-3">个人用房信息导入</p>
                    </div>
                    <div class="col-xs-8">
                        <input id="fileUpload4"
                               type="file" multiple
                               class="file" ref="fileUpload4" data-show-preview="false" data-show-upload="false">
                    </div>
                    <div class="col-xs-4">
                        <button class="btn btn-primary upload" type="button" @click="submitAllData4">确认上传</button>
                    </div>
                </div>
            </div>
        </div></div>
</div>

<script src="/static/plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="/static/bootstrap/js/bootstrap.min.js"></script>
<!-- Slimscroll -->
<script src="/static/plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="/static/plugins/fastclick/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="/static/dist/js/app.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="/static/dist/js/demo.js"></script>
<!--tabs-->
<script src="/static/dist/js/app_iframe.js"></script>
<script src="/static/js/bootstrap-treeview.js"></script>
<script src="/static/js/bootstrapValidator.min.js"></script>
<script src="/static/plugins/datepicker/bootstrap-datepicker.js"></script>
<script src="/static/plugins/datepicker/locales/bootstrap-datepicker.zh-CN.js"></script>
<script src="/static/js/vue.js"></script>
<script src="/static/js/vue-resource.min.js"></script>
<script src="/static/layer/layer.js"></script>
<script src="/static/js/fileinput.min.js"></script>
<script src="/static/js/bootstrap.bundle.js"></script>
<!--<script src="/static/js/dashboard.js"></script>-->
<script src="/static/js/bs-custom-file-input.js"></script>
<script src="/static/js/bootstrap-select.js"></script>
<script src="/static/js/adminlte.js"></script>
<script src="/static/js/zh.js"></script>
<script src="/static/js/myJs.js?v=shujubuwqd12138"></script>
<script src="/static/js/newJs.js?v=shujubuwqd12138"></script>

<script>
    newCss("/static/webCss/exceldr.css");
    initFileInput();
    function initFileInput() {
        $(".sc").fileinput({
            language: 'zh'
        })
    }
    var vue = new Vue({
        el: '#data',
        data: {
            mess:null
        },
        methods: {
            submitAllData: function () {
                this.mess = null;
                var data = new FormData();

                var fileUpload = this.$refs.fileUpload;
                var file = fileUpload.files;

                for (var i = 0; i < file.length; i++) {
                    data.append('file', file[i])
                }
                // $('#shangchuan').modal('toggle');
                var myMsg = cxLoad("上传中");
                this.$http.post('/dalr/api/kjxxExcleDr', data, {
                    headers: {
                        'Content-Type': 'multipart/form-data',
                    },
                }).then(res => {
                    var data = res.data;
                    if(data.code==200){
                        layer.close(myMsg);
                        cxAlertOk("上传成功")
                    }else{
                        layer.close(myMsg);
                        cxAlert(data.mess)
                        this.mess = data.mess
                    }
                }).catch(err => {
                    layer.close(myMsg);
                    console.log(err);
                });
            },
            submitAllData2: function () {
                this.mess = null;
                var data = new FormData();

                var fileUpload = this.$refs.fileUpload2;
                var file = fileUpload.files;

                for (var i = 0; i < file.length; i++) {
                    data.append('file', file[i])
                }
                // $('#shangchuan').modal('toggle');
                var myMsg = cxLoad("上传中");
                this.$http.post('/dalr/api/wsxxExcleDr', data, {
                    headers: {
                        'Content-Type': 'multipart/form-data',
                    },
                }).then(res => {
                    var data = res.data;
                    if(data.code==200){
                        layer.close(myMsg);
                        cxAlertOk("上传成功")
                    }else{
                        layer.close(myMsg);
                        cxAlert(data.mess);
                        this.mess = data.mess
                    }
                }).catch(err => {
                    layer.close(myMsg);
                    console.log(err);
                });
            },
            submitAllData3: function () {
                this.mess = null;
                var data = new FormData();

                var fileUpload = this.$refs.fileUpload3;
                var file = fileUpload.files;

                for (var i = 0; i < file.length; i++) {
                    data.append('file', file[i])
                }
                // $('#shangchuan').modal('toggle');
                var myMsg = cxLoad("上传中");
                this.$http.post('/dalr/api/clxxExcleDr', data, {
                    headers: {
                        'Content-Type': 'multipart/form-data',
                    },
                }).then(res => {
                    var data = res.data;
                    if(data.code==200){
                        layer.close(myMsg);
                        cxAlertOk("上传成功")
                    }else{
                        layer.close(myMsg);
                        cxAlert(data.mess);
                        this.mess = data.mess
                    }
                }).catch(err => {
                    layer.close(myMsg);
                    console.log(err);
                });
            },
            submitAllData4: function () {
                this.mess = null;
                var data = new FormData();

                var fileUpload = this.$refs.fileUpload4;
                var file = fileUpload.files;

                for (var i = 0; i < file.length; i++) {
                    data.append('file', file[i])
                }
                // $('#shangchuan').modal('toggle');
                var myMsg = cxLoad("上传中");
                this.$http.post('/dalr/api/kjxxGryfExcleDr', data, {
                    headers: {
                        'Content-Type': 'multipart/form-data',
                    },
                }).then(res => {
                    var data = res.data;
                    if(data.code==200){
                        layer.close(myMsg);
                        cxAlertOk("上传成功")
                    }else{
                        layer.close(myMsg);
                        cxAlert(data.mess);
                        this.mess = data.mess
                    }
                }).catch(err => {
                    layer.close(myMsg);
                    console.log(err);
                });
            }
        }
    });

</script>
</body>
</html>
